package com.dwxt.cdms.entity.witheart;

import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@NoArgsConstructor
@Data
public class Report {

    private String reportId;
    private String boxMac;
    private Long startTime;
    private Long finishTime;
    private Long createTime;
    private Long offbedTime;
    private Long onbedTime;
    private String penaltyInfo;
    private Integer totalScore;
    private List<Indexs> indexs;
    private List<?> labels;
    private List<Advices> advices;
    private List<?> todaypredictions;
    private Integer hrvreport;
    private String userId;
    private List<Target> target;
    private Object boxSn;

    @NoArgsConstructor
    @Data
    public static class Indexs {
        private Integer score;
        private String type;
        private String explain;
        private List<String> suggest;
    }

    @NoArgsConstructor
    @Data
    public static class Advices {
        private String suggestcode;
        private String suggestion;
        private String summarystr;
        private String suggestdirection;
    }

    @NoArgsConstructor
    @Data
    public static class Target {
        private String title;
        private String measuredValue;
        private String referenceValue;
        private Integer judge;
    }
}
